package org.aplikator.client.shared.rpc;

import org.aplikator.client.shared.descriptor.PropertyDTO;
import org.aplikator.client.shared.descriptor.ViewDTO;
import org.jboss.errai.common.client.api.annotations.Portable;

@Portable
public class ParameterWrapperGetPage {

	//private  ViewDTO view;
	private String viewId;
	private PropertyDTO ownerProperty;
    
    public ParameterWrapperGetPage(){};

    public ParameterWrapperGetPage( String viewId,  PropertyDTO ownerProperty) {
        this.viewId = viewId;
        this.ownerProperty = ownerProperty;    
    }
//
//    public ViewDTO getView() {
//        return view;
//    }

    public String getViewId() {
    	return this.viewId;
    }
    
    public void setViewId(String viewId) {
		this.viewId = viewId;
	}
    
    public PropertyDTO getOwnerProperty() {
        return ownerProperty;
    }
    
    public void setOwnerProperty(PropertyDTO ownerProperty) {
		this.ownerProperty = ownerProperty;
	}
}